package com.one.rope.mvp.web.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 公众号关注记录表
 * </p>
 *
 * @author wesley
 * @since 2020-04-01
 */
@Data
public class MemberSubscribeRecord extends Model<MemberSubscribeRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公众号开发者id
     */
    private String officicalId;

    /**
     * 微信公众号unionId
     */
    private String wxUnionId;

    /**
     * 微信公众号openId
     */
    private String wxOfficialOpenId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @Override
    public String toString() {
        return "MemberSubscribeRecord{" +
        "id=" + id +
        ", officicalId=" + officicalId +
        ", wxUnionId=" + wxUnionId +
        ", wxOfficialOpenId=" + wxOfficialOpenId +
        ", createTime=" + createTime +
        "}";
    }
}
